home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 431_01 / rport.doc < prev    next >
Text File  |  1994-10-07  |  969b  |  24 lines

  1. RPORT --- port redirection for RIFS
  2.  
  3.   RPORT [lpt[1 | 2 | 3] | com[1 | 2 | 3 | 4]] TO 
  4.     [lpt[1 | 2 | 3] | com[1 | 2 | 3 | 4] | filename] {BUFFER # {TIMEOUT #}}
  5.  
  6.     redirect client port --> server port
  7.     BUFFER is optional. If it exists, (#) characters are buffered before
  8.       being sent. When a printer is buffered, printer status will always
  9.       be 0x80 (printer not busy).
  10.     If the printer is redirected to a file and the disk becomes full,
  11.       all further output is simply lost.
  12.     TIMEOUT is also optional, and can only be used with BUFFER. It is the
  13.       number of seconds of inactivity before the buffer if flushed. The
  14.       default is 2 seconds.
  15.  
  16.   RPORT [lpt[1 | 2 | 3] | com[1 | 2 | 3 | 4]] RESET
  17.  
  18.     Reset port to local. This will sever the connection, and close the
  19.       file if one was open, and release the buffer.
  20.  
  21.   The RPORT command requires 2K of space internally in addition to the
  22.     number of BUFFERs.
  23.       
  24.